// 主框架容器
const Layout = () => import('@/components/layout/index.vue')

const routes = [
  {
    path: '/',
    component: Layout,
    children: [
      {
        path: '/form',
        name: '表单组件',
        component: () => import('@/views/form/index.vue'),
        meta: {
          keepAlive: true
        }
      },
      /* {
        path: '/dialog',
        name: '功能弹框',
        component: () => import('@/views/dialog/index.vue'),
        meta: {
          keepAlive: true
        }
      },
      {
        path: '/list',
        name: '主列表页',
        component: () => import('@/views/list/index.vue'),
        meta: {
          keepAlive: true
        }
      },
      {
        path: '/chart',
        name: '图表',
        component: () => import('@/views/chart/index.vue'),
        meta: {
          keepAlive: true
        }
      },
      {
        path: '/router/muen',
        name: '路由嵌套',
        component: () => import('@/views/router/index.vue'),
        meta: {
          keepAlive: true
        }
      } */
    ]
  }
]

export default routes
